#ifndef THREADPOOL_INTERFACE_H
#define THREADPOOL_INTERFACE_H

#include "task.h"
#include <memory>
class ThreadPoolInterface {
public:
  virtual int PushOneTask(pooltask *task) = 0;
  virtual int PushOneTask(std::shared_ptr<SharedTask> task) = 0;
  ThreadPoolInterface() {}
  virtual ~ThreadPoolInterface() {}
};

#endif
